import '@/assets/css/global.css'
import loading from '@/assets/img/6.svg'
import errImg from '@/assets/img/7.svg'
import router from '@/commons/router'
import { createApp } from 'vue'
import Lazyload from 'vue3-lazyload'
import App from './App.vue'

const app = createApp(App)

// 注册路由
app.use(router)
// 注册图片懒加载
app.use(Lazyload, {loading: loading, error: errImg})
app.mount('#app')
